Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keycloak IDP hint and logout endpoint #108

Merged
merged 3 commits into from
May 28, 2024

Conversation

sergei-maertens
Copy link
Member

Closes #42

  • Added the oidc_kc_idp_hint model field to the base config, so those can be removed in subclasses once this is released
  • Added the oidc_op_logout_endpoint and utility to log out a user based on their ID token, with tests

I figured this would be nice to ship in 0.17.0 too now that a lot of code has been reorganized :)

Added the field (from Open Forms) to the base model. The
view code to look up the config value was already
present.
This definitely works with keycloak, it should probably work
with other OpenID providers but those are yet untested.
Added disclaimer about possible non-standard behaviour and preferred
approach to send the user agent to the logout endpoint.
@sergei-maertens sergei-maertens force-pushed the feature/42-add-keycloak-idp-hint branch from 67ce1c7 to 69c6706 Compare May 28, 2024 07:46
@sergei-maertens sergei-maertens merged commit 7848e8c into master May 28, 2024
7 checks passed
@sergei-maertens sergei-maertens deleted the feature/42-add-keycloak-idp-hint branch May 28, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorporate OIDC functionality from Open Forms
2 participants